{% extends "home.html" %}
{% load thoughts_tags %}
{% load pagination_tags %}

{% block title %} Your Active Thoughts  - {{ block.super }} {% endblock %}

{% block ads%}
{% endblock %}

{% block content %}
     <div class="row" >
     {% if thoughts %}
     {% autopaginate thoughts 4 %} 
     {% for t in thoughts %} 
            <div class="span12">
            {% thought t %}
             </div> 
     {% endfor %}
     
    <div class="span14">
            
     {% paginate %}
    </div>
    {% else %}
    <div class="span14">
      <div class="alert-message warning">

        <a class="close" href="#">&times;</a>
        <p><strong>Hey!!</strong> try to write something today ?? </p>

     </div>
     </div>
    {% endif %}
   </div>

{% endblock %}  
